package com.jinzhi.sys.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/*
 *  @author : JingChangTian
 *  @date   : 2023/8/2 11:33
 *  @description :
 *
 */
@ApiModel(value = "首页统计信息")
@Data
public class HomeStatisticsVo {
    private static final long serialVersionUID = 1L;

    public HomeStatisticsVo(Integer incomeCompetition, Integer topicCount, Integer headcount, Integer totality, Integer yesterdaySum, Integer weeksSum) {
        this.incomeCompetition = incomeCompetition;
        this.topicCount = topicCount;
        this.headcount = headcount;
        this.totality = totality;
        this.yesterdaySum = yesterdaySum;
        this.weeksSum = weeksSum;
    }

    @ApiModelProperty(value = "总竞赛数")
    private Integer incomeCompetition;

    @ApiModelProperty(value = "总试题数")
    private Integer topicCount;

    @ApiModelProperty(value = "总考生数")
    private Integer headcount;

    @ApiModelProperty(value = "总参加数")
    private Integer totality;

    @ApiModelProperty(value = "昨日参加数")
    private Integer yesterdaySum;

    @ApiModelProperty(value = "最近一周参加数")
    private Integer weeksSum;
}
